#ifndef DRAWIMAGE_H
#define DRAWIMAGE_H

#include "global.h"
#include "displaywidget.h"

class DrawImage : public DisplayWidget
{
public:
    explicit DrawImage(QWidget *parent = 0, int num=0);
    DrawImage(QWidget *parent, QString path, int num=0);
    ~DrawImage();

    void setImagePath(const QString imagePath);
//    void endThis();
    SCREENTYPE type() {return IMAGE;}
    int screenNumber() {return screenNo;}

private:
    int screenNo;

signals:
    int pX;
    int pY;
    QString iPath;

public slots:
    void paintEvent(QPaintEvent *pEvent);
    void drawImage();

};

#endif // DRAWIMAGE_H
